package net.facelib.sdk;

import net.gdface.sdk.CodeInfo;
import net.facelib.live.LiveCodeInfo;
import net.facelib.live.LiveStatus;
import net.facelib.sdk.UserInfoManagement.User;

/**
 * {@link FaceCaptureCallback}接口默认实例,应用层可以此为基类实例自己的回调对象
 * @author guyadong
 *
 */
public class DefaultFaceCaptureCallback implements FaceCaptureCallback{

	@Override
	public void onLiveFaces(CaptureContext context, LiveCodeInfo[] codes){
		
	}
	@Override
	public void onLiveFaceError(CaptureContext context, LiveStatus liveStatus){
		
	}
	@Override
	public void onLiveFaceError(CaptureContext context, Throwable e){
		
	}
	@Override
	public CodeInfo[] onFaceDetected(CaptureContext context, CodeInfo[] codes){
		return codes;
	}
	 
	@Override
	public void onFaceFeature(CaptureContext context, CodeInfo[] codes){
		
	}
	
	@Override
	public void onFeatureError(CaptureContext context, CodeInfo[] codes, Throwable e){
		
	}
	
	@Override
	public void onRecongizeOne(CaptureContext context, CodeInfo code, User user,double similarity){
		
	}
	@Override
	public void onRecongizeN(CaptureContext context, CodeInfo[] codes, User[] users, double[] similarity){
		
	}
	
	@Override
	public void onRecongizeError(CaptureContext context, CodeInfo[] codes, Throwable e){
		
	}
	@Override
	public void onNotFaceDetectedException(CaptureContext context){
		
	}
	
	@Override
	public void onUndeclaredException(Throwable e) {
	}

	@Override
	public void onUndeclaredCaptureException(CaptureContext context,Throwable e){
		
	}

	@Override
	public void onCameraException(Throwable e) {
	}
	
	@Override
	public void onUserFaceRegistered(UserInfoManagement userInfoManagement) {
	}
}